<?php $this->import('Header') ?>
<?php $this->import('User/Top') ?>
<div class="container">
    <div class="row home-message">
        <div class="col-xs-8 left">
            <div class="well well-sm dog-info">
                <p class="bg-title title">关注我的狗狗</p>
                <div class="follow">
                    <div class="group">
                        <?php foreach ($fans as $user) { ?>
                            <div class="item">
                                <div class="photo">
                                    <a href=""><img src="<?php echo \Util\User::getUserPhoto($user['Photo'], 200, 200) ?>" /></a>
                                </div>
                                <div class="i">
                                    <p>名字：<span class="name"><?php echo !empty($user['Username']) ? $user['Username'] : $user['Email'] ?></span></p>
                                    <p>性别：<?php echo $user['Sex'] == \Data\Base::SEX_BOY ? 'GG' : 'MM' ?></p>
                                    <p>品种：<?php echo $user['breedName'] ? $user['breedName'] : '-' ?></p>
                                    <p>地址：<?php echo implode('', $user['cityInfo']) ?></p>
                                    <p>
                                        <a href="/dog_u<?php echo $user['UserId'] ?>.html" class="btn btn-default">去看看</a>
                                    </p>
                                </div>
                            </div>
                        <?php } ?>
                    </div>
                </div>
                <?php \Controller\UC\Pager::instance()->run(array('pager' => $pager)) ?>
            </div>
        </div>
        <div class="col-xs-4 right">
            <div class="well well-sm dog-info look-me">
                <p class="bg-title title">最近关注我的</p>
                <div class="group">
                    <?php for ($i = 0; $i < 5; $i++) { ?>
                        <div class="item">
                            <a class="photo" href=""><img src="/Resource/images/dog_pt1.jpg"></a>
                            <div class="i">
                                <p>名字：紫薇</p>
                                <p>性别：GG</p>
                                <p>年龄：3岁</p>
                                <p>品种：金毛</p>
                                <p><a href="">3天前</a> 看过你... <a href="">看看Ta &gt;&gt;</a></p>
                            </div>
                        </div>
                    <?php } ?>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $this->import('Footer') ?>
<script>
//    seajs.init();
</script>